import request from '@/utils/request'
export default {
  login (params) {
    return request.post('/login', params, {
      action: '登录'
    })
  },
  getInfo (params) {
    return request.post('/getInfo', params, {
      action: '获取用户'
    })
  },
  getRouters (params) {
    return request.post('/getRouters', params, {
      action: '获取路由列表'
    })
  }
}
